package com.mall.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 省份表
 * </p>
 *
 * @author Darren
 * @since 2022-08-29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("provinces")
@ApiModel(value="Provinces对象", description="省份表")
public class Provinces implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 省份ID
     */
    @ApiModelProperty(value = "省份ID")
    @TableId(value = "provinceid", type = IdType.AUTO)
    private String provinceid;

    /**
     * 省份名称
     */
    @ApiModelProperty(value = "省份名称")
    @TableField("province")
    private String province;


}
